]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Don't use GuiPrivate.
authorSandro Knauß <hefee@debian.org>
Fri, 3 Feb 2023 17:09:41 +0000 (18:09 +0100)
committerSandro Knauß <hefee@debian.org>
Wed, 15 Feb 2023 14:00:39 +0000 (15:00 +0100)
It is not used anymore and it was patched out before.

Forwarded: not-needed

Gbp-Pq: Name 0004-Don-t-use-GuiPrivate.patch

src/gui/CMakeLists.txt

index 7639f95abd7b472bded09323e56a1b0892aa6272..481a8f56268093a2f83874422f374586d707390d 100644 (file)
@@ -10,10 +10,6 @@ if(QUICK_COMPILER)
         )
 endif()
 
-if (NOT TARGET Qt5::GuiPrivate)
-    message(FATAL_ERROR "Could not find GuiPrivate component of Qt5. It might be shipped as a separate package, please check that.")
-endif()
-
 if(CMAKE_BUILD_TYPE MATCHES Debug)
     add_definitions(-DQT_QML_DEBUG)
 endif()
@@ -513,7 +509,6 @@ target_link_libraries(nextcloudCore
   PUBLIC
   Nextcloud::sync
   Qt5::Widgets
-  Qt5::GuiPrivate
   Qt5::Svg
   Qt5::Network
   Qt5::Xml